home *** CD-ROM | disk | FTP | other *** search
/ 600 Games / 600games.iso / Nave / spaceambush.swf / scripts / frame_286 / PlaceObject2_426_71 / CLIPACTIONRECORD onClipEvent(enterFrame).as next >
Encoding:
Text File  |  2007-03-12  |  737 b   |  40 lines

  1. onClipEvent(enterFrame){
  2.    if(0 >= _root.canoncount)
  3.    {
  4.       _root.canongun = false;
  5.       _root.lasergun = true;
  6.       _root.gunname = "Laser Gun";
  7.       _root.amitavafire = "Unlimited";
  8.    }
  9.    if(0 >= _root.amithealth)
  10.    {
  11.       _root.tank.truck.gotoAndStop(3);
  12.       _root.tank.turret.gotoAndStop(4);
  13.       _root.amitavaplay = false;
  14.    }
  15.    if(850 < _root.sco)
  16.    {
  17.       if(va == 1)
  18.       {
  19.          _root.j6.att = true;
  20.          va = 0;
  21.       }
  22.    }
  23.    if(1750 < _root.sco)
  24.    {
  25.       if(vb == 1)
  26.       {
  27.          _root.caman.att = true;
  28.          vb = 0;
  29.       }
  30.    }
  31.    if(2600 < _root.sco)
  32.    {
  33.       if(vc == 1)
  34.       {
  35.          _root.jet.att = true;
  36.          vc = 0;
  37.       }
  38.    }
  39. }
  40.